package com.lab.idea.bl.pool;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 任务队列
 * @author mao
 */
@Getter
@Setter
@Accessors(chain = true)
public class LabThreadPool {

    @ApiModelProperty("线程池名称")
    private String poolName;

    @ApiModelProperty("核心线程数")
    private Integer corePoolSize;

    @ApiModelProperty("最大线程数")
    private Integer maxPoolSize;

    @ApiModelProperty("存活时间秒")
    private Integer keepAliveTime;

    @ApiModelProperty("队列数量")
    private Integer queueSize;
}
